﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Controls_ListBookActive : System.Web.UI.UserControl
{   
    public LanguageManage Language;
    public string deletecf = "";
    public List<BookEntity> listBook { set; get; }
    protected void Page_Load(object sender, EventArgs e)
    {
        Language=new LanguageManage();
        deletecf = Language["msgdeletebook"];
    }
    public string ConvertActive(bool active)
    {
        try
        {
            if (active)
            {
                return "YES";
            }
            else
            {
                return "NO";
            }
        }
        catch (Exception)
        {

            return "NO";
        }
    }
}
